﻿using HealthcareSystem.API.Read.DTO.Team;
using MediatR;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Read.Application.Command.Team
{
    /// <summary>
    /// 团队查询请求
    /// </summary>
    public class TeamQueryCommand:IRequest<ApiResult<ApiPaging<List<TeamTableDTO>>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int Pagindex {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int Pagsize {  get; set; }
        /// <summary>
        /// 团队名称
        /// </summary>
        public string? TeamName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? TeamStatus { get; set; }
    }
}
